<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
	<class name="Insesoft.BusinessEntities.Empresa,Insesoft.BusinessEntities" table="Empresa">

		<id name="Id" column="Id" type="Int32" unsaved-value="0">
			<generator class="native"/>
		</id>
		<property column="Nombre" type="String" name="Nombre" not-null="true" length="50" />
		<property column="Cedula" type="String" name="Cedula" length="20" />
		<property column="Direccion" type="String" name="Direccion" length="500" />
		<property column="Telefono" type="String" name="Telefono" length="20" />
		<property column="Fax" type="String" name="Fax" length="20" />
		<property column="Email" type="String" name="Email" length="50" />
		<property column="Utilidad" type="Decimal" name="Utilidad" not-null="true" />
		<property column="ImpVenta" type="Decimal" name="ImpVenta" not-null="true" />
		
	</class>
  <sql-query name="CurrentDate">
    <![CDATA[
    SELECT DATEADD(dd, 0, DATEDIFF(dd, 0, GETDATE()))
  ]]>
  </sql-query>
</hibernate-mapping>
